package com.team.book.web.dto;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author iw
 * @create 2017-05-10 11:24
 **/
public class BookDTO {
    private Long code;

    private String title;

    private String author;

    private String blurb;

    private Byte type;

    private String classificationName;

    private Date createtime;

    private Byte borrowStatus;

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getBlurb() {
        return blurb;
    }

    public void setBlurb(String blurb) {
        this.blurb = blurb;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getClassificationName() {
        return classificationName;
    }

    public void setClassificationName(String classificationName) {
        this.classificationName = classificationName;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Byte getBorrowStatus() {
        return borrowStatus;
    }

    public void setBorrowStatus(Byte borrowStatus) {
        this.borrowStatus = borrowStatus;
    }
}
